package com.wms.dao;
import com.wms.domain.Menu;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper
public interface MenuMapper {
    public void addMenu(Menu menu);

    public void update(Menu menu);
    public List<Menu> getMenuPage(Menu menu);
    public Menu getMenuPageSum(Menu menu);

    public int getCount(Menu menu);

    public void delMenu(Long id);
}
